package com.dto;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;
//还款信息表
@Repository
public class Retmsg implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6686578438463813802L;
	/**
	 * 
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private String id;
	private Date ret_date ; //还款时间
	private String user_id;  //用户ID
	private String ret_type; //还款类型
	private String ret_num;  // 贷款编号
	private String ret_water; // 还款流水
	private Double ret_money ;//还款金额
	private Integer nper;      //贷款期数
	private String ret_sta;
	private Apply app;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getRet_date() {
		return ret_date;
	}
	public void setRet_date(Date ret_date) {
		this.ret_date = ret_date;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getRet_type() {
		return ret_type;
	}
	public void setRet_type(String ret_type) {
		this.ret_type = ret_type;
	}
	public String getRet_num() {
		return ret_num;
	}
	public void setRet_num(String ret_num) {
		this.ret_num = ret_num;
	}
	public String getRet_water() {
		return ret_water;
	}
	public void setRet_water(String ret_water) {
		this.ret_water = ret_water;
	}
	public Double getRet_money() {
		return ret_money;
	}
	public void setRet_money(Double ret_money) {
		this.ret_money = ret_money;
	}
	public Integer getNper() {
		return nper;
	}
	public void setNper(Integer nper) {
		this.nper = nper;
	}
	public String getRet_sta() {
		return ret_sta;
	}
	public void setRet_sta(String ret_sta) {
		this.ret_sta = ret_sta;
	}
	public Apply getApp() {
		return app;
	}
	public void setApp(Apply app) {
		this.app = app;
	}
	@Override
	public String toString() {
		return "Retmsg [id=" + id + ", ret_date=" + ret_date + ", user_id=" + user_id + ", ret_type=" + ret_type
				+ ", ret_num=" + ret_num + ", ret_water=" + ret_water + ", ret_money=" + ret_money + ", nper=" + nper
				+ ", ret_sta=" + ret_sta + ", app=" + app + "]";
	}
	
	
}
